package com.smart.campus.service;

import com.smart.campus.dto.AttendanceStatistics;
import com.smart.campus.dto.TeacherAttendance;
import com.smart.campus.pojo.PagedResponse;

import java.util.List;

/**
 * @BelongsProject: smart-campus
 * @BelongsPackage: com.smart.campus.service
 * @Author: JinBao shan
 * @date 2024/10/7 20:09
 * @Description: TODO
 * @Version: 1.0
 */

public interface TeacherAttendanceService {
    PagedResponse<TeacherAttendance> findTeacherAttendancePagination(TeacherAttendance attendance, Integer pageNum, Integer pageSize);

    void addTeacherAttendance(TeacherAttendance attendance);

    TeacherAttendance getTeacherAttendanceById(Integer id);

    void updateTeacherAttendance(TeacherAttendance attendance);

    void delTeacherAttendanceById(Integer id);

    List<AttendanceStatistics> queryAttendanceStatistics(AttendanceStatistics attendanceStatistics);
}
